package com.oa.dao;

import java.util.List;
import java.util.Map;

import com.oa.bean.Role;
import com.oa.bean.Section;
import com.oa.bean.User;

public interface PersonalDao {

	User selectPersonal(int uid);
	List<Section> selectSectionList();
	List<Role> selectRoleList();
	Integer insertUserByUser(User user);
	List<User> selectUserList(Map<String,Object>map);
	Integer updateUser(User user);
	Integer delectUserById(int uid);
	Integer updateUserImg(Map<String,Object>map);	
	Integer updatePassWord(User user);
	
	User selectUserByName(String userName);
	
	Integer selectRoleByName(String userName);
	Integer updateOtherPass(User user);
}
